package com.huanbao.common.pojo.nwrabc;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("menus")
public class SysMenu {

    @TableId(value = "id", type = IdType.AUTO)//指定自增策略
    private Integer id;

    @TableField(value = "pId")
    private Integer pId;

    @TableField(value = "name")
    private String name;

    @TableField(value = "url")
    private String url;

    @TableField(value = "type")
    private String type;

    @TableField(value = "sortweight")
    private Integer sortweight;

    @TableField(exist = false)
    private String target;

    @TableField(value = "ishide")
    private int ishide;

    @TableField(exist = false)
    private boolean checked;

    @TableField(value = "alias")
    private String alias;

}